#pragma once
//#ifndef MYSTDIO.H
//#define MYSTDIO.H

#include<string.h>


#define SIZE 1024

#define FLUSH_NOW 1
#define FLUSH_LINE 2
#define FLUSH_ALL 4


typedef struct _FILE
{
  int fileno;
  int flag;
  char outbuffer[SIZE];
  int outpos;
}_FILE;


_FILE* _fopen(const char* filename,const char* flag);
int _fwrite(_FILE* fp,const char* s,int size);
void _fclose(_FILE* fp);





//#endif
